# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mycroft-skill-alarm
pkgver=20.02_git20200508
pkgrel=0
_commit="efaa776be9f603b17df7b4e7a07e73fb4fbd4675"
pkgdesc="Mycroft AI official Alarm Skill - Set single and recurring alarms, with a choice of alarm sounds"
url="https://mycroft.ai/skills"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-pyalsaaudio"
source="https://github.com/mycroftai/skill-alarm/archive/$_commit/skills-alarm-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/skill-alarm-$_commit"

package() {
	mkdir -p "$pkgdir"/usr/share/mycroft/skills/mycroft-alarm.mycroftai
	cp -r ./* "$pkgdir"/usr/share/mycroft/skills/mycroft-alarm.mycroftai/
}

sha512sums="a5be3e4d9881fdd00b282cef7ddbea3566a1653891ebd45c7a41a5691518075fae8b461c631b55b33282c13a223bb96dfcf96349a7cc9c69aaac2a3b12d7664f  skills-alarm-efaa776be9f603b17df7b4e7a07e73fb4fbd4675.tar.gz"
